package com.hmall.order.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.domain.dto.OrderPayDto;
import com.hmall.domain.pojo.Order;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 订单业务层接口
 * @author xiaojiangshi
 */
public interface IOrderService extends IService<Order> {

    /**
     * 根据条件提交订单
     * @param orderPayDto 订单信息
     * @return 订单id
     */
    Long commitOrder(OrderPayDto orderPayDto);
}
